#mywork-root{
    padding-left: 6rem;
}
#mywork-workroot{
    margin: 20px;
    font-weight: 400;
    font-size: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    height: 100%;
}
.mywork-nav ul{
    list-style: none;
    display: block;
    height: 50px;
    box-sizing: border-box;
}
.mywork-nav li{
    display: inline-block;
    font-size: 20px;
    color: #000000;
    font-weight: 400;
    text-align: center;
    padding: 20px 10px 1px 10px;
    margin-left: 15px;
    cursor: pointer;
}
.mywork-nav li:hover{
    animation: underline 0.3s ease-in forwards;
}
.mywork-nav a:active{
    color: #adebb5;
}
.mywork-item,.mypaint-item{
    margin: 0.5rem;
    width: 20rem;
    padding: 0.4rem 1rem 0.75rem;
    background-color: rgb(236, 226, 204);
    box-sizing: border-box;
}

.mywork-title {
    display: block;
    font-size: 2rem;
    margin-left: -0.35rem;
    text-transform: capitalize;
    margin: 15px 0;
  }
.mywork-img{
    width: 100%;
    height: 11rem;
    background-size: 100% auto;
    background-position: center center;
    margin: 0.8rem 0 0.7rem 0;
    transition: all 0.25s ease-in-out;
}
.mywork-img:hover{
    background-size: 105% auto;
}
.mywork-keyword{
    font-style: italic;
    margin-right: 0.3rem;
    color: #000000;
    opacity: 0.5;
    text-decoration: none;
}
.mypaint-item{
    background-color: #ffffff;

}
/* .mypaint-item:nth-child(2){
    position: absolute;
} */
/* .mypaint-img:nth-child(2) {
    background-size: contain;
} */
.mypaint-img{
    width: 100%;
    height: 40rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin: 0.8rem 0 0.7rem 0;
    transition: all 0.25s ease-in-out;
    flex: 1;
}

@keyframes underline{
    from{
        border-bottom: 0px solid #adebb5;
    }
    to{
        border-bottom: 5px solid #adebb5;
    }
}
